﻿@{
    ViewBag.Title = "大卫杜夫雪茄";
    var news = ViewBag.News;
    var products = ViewBag.Products;
    var kv = ViewBag.KV;
}

<div class="top-banner">
    <section class="kv">
                @if (kv != null && !string.IsNullOrEmpty(kv.IMG_URL))
                {
                    <a href="@kv.TITLE"><div style="background-color:#090e14;background-image:url('@kv.IMG_URL')">&nbsp;</div></a>
                }
    </section>
</div>
<div class="page_wrapper indexbox">
    <div class="main_cont">
                <section class="row news">
                    @*<%for(var i = 0; i < list.length; i++) {%>
                    <div class="col-sm-12 col-md-4 col-lg-4 col-xl-4">
                        <a class="news_list" href="<%:=list[i].LINK%>">
                            <img src="<%:=list[i].IMG_URL%>" alt="<%:=list[i].TITLE%>">
                            <div class="indexMask">
                                <div class="txt"><%:=list[i].TITLE%></div>
                            </div>
                        </a>
                    </div>
                    <%}%>*@
                    @if (products != null && products.Count > 0)
                    {
                        for (int i = 0; i < products.Count; i++)
                        {
                            var item = products[i];
                        <div class="col-sm-12 col-md-4 col-lg-4 col-xl-4">
                            <a class="news_list" href="@item.LINK">
                                <img src="/Content/static/images/placeholder-408x350.gif" data-src="@item.IMG_URL" alt="@item.TITLE">
                                <div class="indexMask">
                                    <div class="txt">@item.TITLE</div>
                                </div>
                            </a>
                        </div>
                        }
                    }
        </section>
        <section>
            <div id="news_wp" class="news-block-width craftmanship">
                <h1>雪茄工艺</h1>
                <div class="wrapper">
                    <img class="placeholder" src="/Content/static/images/placeholder-3x1.png" />
                    <div class="meta">
                        <a href="/Content/pages/difference">
                            <h3 class="detailed">时间凝聚了工匠的精湛技艺，制成最珍贵的产物。</h3>
                            <p>每一支雪茄都承载了5个世纪以来的雪茄制作工艺，<br />被卷制成优雅的形态，<br />以各自不同的表现形式去呈现时间带来的美好。</p>
                            <span class="caps">探索雪茄工艺<i class="icon-right-open"></i></span>
                        </a>
                    </div>
                    <div class="bgvideo">
                        <video autoplay="autoplay" loop="loop" muted="muted">
                            <source src="/Content/static/video/process.mp4" type="video/mp4">
                            <source src="/Content/static/video/process.hd.webm" type="video/webm">
                        </video>
                    </div>
                </div>
            </div>
            <!-- <div id="news_wp">
                @if (news != null && news.Count > 0)
                {
                    foreach (var item in news)
                    {
                        <h1 class="detailed">@item.TITLE</h1>
                        <div class="kv"><a href="@item.LINK"><img src="@item.IMG_URL" alt="@item.TITLE"></a></div>
                    }
                }
            </div> -->
        </section>
        <section>
            <h1>购买我们的产品</h1>
            <div class="kv kvprd">
                <img src="/Content/static/images/kv3.jpg">
                <div class="txtbox">
                    <b>购买</b>
                    <p>自1911年以来，日内瓦大卫杜夫旗舰店是那些渴望精致手工制作的雪茄、奢侈配饰和精致礼品的人们首选目的地。</p>

                    <a href="/map/" class="btn_yellow">临近店铺</a>
                </div>

            </div>
        </section>
    </div>
</div>